﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
using RTCCore;

namespace LibGUI.MainForm.UserList {

    class UserTreeNode : BaseUserNode
    {

        public UserTreeNode(string userName, string userURI)
        {
            Debug.Assert(null != userName);
            Debug.Assert(null != userURI);

            _userName = userName;
            _userURI = userURI;
            _userStatus = RTC_PRESENCE_STATUS.RTCXS_PRESENCE_OFFLINE;

            

            // set the userName
            Text = userName;           
        }

        public UserTreeNode(string userName, string userURI,RTC_PRESENCE_STATUS status)
        {
            Debug.Assert(null != userName);
            Debug.Assert(null != userURI);

            _userName = userName;
            _userURI = userURI;
            _userStatus = status;

            // set the userName
            Text = userName;
        }

        
    }
}